package jp.gr.java_conf.koharasjk.syncstickynotes;

import android.content.Context;
import android.os.AsyncTask;

//AsyncTask用のクラス、今は使っていない。
public class DbUpdateTask extends AsyncTask<String, Integer, String> {

	Context context;
	String content;
	boolean flag;

	public DbUpdateTask(Context context) {
		this.context = context;
	}

	@Override
	protected String doInBackground(String... params) {
		DbUtil.dbUpdate(params.toString());
		return null;
	}

	@Override
	protected void onCancelled() {
		// TODO Auto-generated method stub
		super.onCancelled();
	}

	@Override
	protected void onCancelled(String result) {
		// TODO Auto-generated method stub
		super.onCancelled(result);
	}

	@Override
	protected void onPostExecute(String result) {
		// TODO Auto-generated method stub
		super.onPostExecute(result);
	}

	@Override
	protected void onPreExecute() {
		// TODO Auto-generated method stub
		super.onPreExecute();
	}

	@Override
	protected void onProgressUpdate(Integer... values) {
		// TODO Auto-generated method stub
		super.onProgressUpdate(values);
	}

}
